package online.shenjian.cloud.client.cloud.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 数字货币排名
 *
 * @author shenjian
 * @since 2023-12-30
 */
@Data
public class RankDto {
    
    private String id;
    private Integer rank;
    
    private String url;
    
    private String name;
    private String chineseName;
    
    private Double price;
    private Double hour24;
    private Double day7;
    private Double volume24h;
    private Double mktCap;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date cDate;
}
